package com.itheima.easy.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.itheima.easy.base.BaseDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@ApiModel(description = "订单信息")
public class OrderDto extends BaseDto {

//    @ApiModelProperty(value = "订单号")
//    private Long tradingOrderNo;

    @ApiModelProperty(value = "支付状态")
    private Byte paymentStatus;

    @ApiModelProperty(value = "订单金额")
    private BigDecimal amount;

//    @ApiModelProperty(value = "退款金额")
//    private BigDecimal refund;
//
//    @ApiModelProperty(value = "是否退款")
//    private String isRefund;
//
//    @ApiModelProperty(value = "下单会员ID")
//    private Long memberId;

    @ApiModelProperty(value = "项目ID")
    private Long projectId;

    @ApiModelProperty(value = "老人ID")
    private Long elderId;

    @ApiModelProperty(value = "预计到达时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime estimatedArrivalTime;
//
//    @ApiModelProperty(value = "备注")
//    private String mark;

//    @ApiModelProperty(value = "原因")
//    private String reason;
//
//    @ApiModelProperty(value = "订单状态")
//    private Integer status;
}

